home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / mouse / mileage < prev    next >
ArcFS Archive  |  1995-10-01  |  10.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: ArcFS Archive (archive/arcFS).

You can browse this item here: mileage

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert ArcFS Archive (archive/arcFS) magic Supported
100% file RISC OS archive (ArcFS format) default
99% file data default
100% TrID Acorn ArcFS Archive default
100% gt2 Kopftext: 'Archive' default (weak)
100% detectItEasy Archive: ArcFS default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | 8c 01 00 00 ec 01 00 00 |Archive.|........|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 4d 69 6c 65 61 67 | 65 00 f3 ff ff ff ff ff |.!Mileag|e.......|
|00000070| 45 fd ff ff d4 0a f2 4c | 00 00 00 00 ff ff ff ff |E......L|........|
|00000080| 68 01 00 80 82 21 42 6f | 6f 74 00 67 65 00 f3 ff |h....!Bo|ot.ge...|
|00000090| 3d 00 00 00 45 eb ff ff | 4c f3 48 46 03 00 da 92 |=...E...|L.HF....|
|000000a0| 3d 00 00 00 24 00 00 00 | 82 21 48 65 6c 70 00 67 |=...$...|.!Help.g|
|000000b0| 65 00 f3 ff aa 05 00 00 | 45 ff ff ff de 6c 90 6c |e.......|E....l.l|
|000000c0| 03 00 a1 fb aa 05 00 00 | 85 00 00 00 82 21 52 75 |........|.....!Ru|
|000000d0| 6e 00 00 67 65 00 f3 ff | 52 00 00 00 45 eb ff ff |n..ge...|R...E...|
|000000e0| d4 12 ce 45 03 00 c6 0b | 52 00 00 00 53 06 00 00 |...E....|R...S...|
|000000f0| 82 21 53 70 72 69 74 65 | 73 00 f3 ff 38 02 00 00 |.!Sprite|s...8...|
|00000100| 45 f9 ff ff ee 68 cb 45 | 03 00 dc 3b 38 02 00 00 |E....h.E|...;8...|
|00000110| c9 06 00 00 82 43 61 6c | 69 62 72 61 74 65 00 ff |.....Cal|ibrate..|
|00000120| 1d 02 00 00 45 fb ff ff | 4b 63 d8 47 03 00 61 cd |....E...|Kc.G..a.|
|00000130| 1d 02 00 00 25 09 00 00 | 82 4d 69 6c 65 61 67 65 |....%...|.Mileage|
|00000140| 00 65 00 ff 5c 05 00 00 | 45 fa ff ff 42 7f d8 47 |.e..\...|E...B..G|
|00000150| 03 00 10 a9 5c 05 00 00 | 66 0b 00 00 82 53 6f 75 |....\...|f....Sou|
|00000160| 72 63 65 00 00 65 00 ff | b8 16 00 00 45 fb ff ff |rce..e..|....E...|
|00000170| 87 7e d8 47 03 00 bf 46 | b8 16 00 00 e6 10 00 00 |.~.G...F|........|
|00000180| 82 54 65 73 74 00 65 00 | 00 65 00 ff 3d 00 00 00 |.Test.e.|.e..=...|
|00000190| 45 fb ff ff ff 0d d9 47 | 03 00 a1 b4 3d 00 00 00 |E......G|....=...|
|000001a0| c2 27 00 00 00 94 15 02 | ff 00 00 00 45 fb f3 ff |.'......|....E...|
|000001b0| 97 ff 34 8c 6c f3 00 00 | 03 00 00 00 ff ff ff ff |..4.l...|........|
|000001c0| 03 00 f1 00 bc 92 e4 bd | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 68 01 00 00 46 69 6c 65 |........|h...File|
|000001f0| 44 61 74 61 82 21 42 6f | 6f 74 00 67 65 00 f3 ff |Data.!Bo|ot.ge...|
|00000200| 3d 00 00 00 45 eb ff ff | 4c f3 48 46 03 00 da 92 |=...E...|L.HF....|
|00000210| 53 65 74 20 4d 69 6c 65 | 61 67 65 24 44 69 72 20 |Set Mile|age$Dir |
|00000220| 3c 4f 62 65 79 24 44 69 | 72 3e 0a 49 63 6f 6e 53 |<Obey$Di|r>.IconS|
|00000230| 70 72 69 74 65 73 20 3c | 4d 69 6c 65 61 67 65 24 |prites <|Mileage$|
|00000240| 44 69 72 3e 2e 21 53 70 | 72 69 74 65 73 46 69 6c |Dir>.!Sp|ritesFil|
|00000250| 65 44 61 74 61 82 21 48 | 65 6c 70 00 67 65 00 f3 |eData.!H|elp.ge..|
|00000260| ff aa 05 00 00 45 ff ff | ff de 6c 90 6c 03 00 a1 |.....E..|..l.l...|
|00000270| fb 4d 6f 75 73 65 20 6d | 69 6c 65 61 67 65 0a 2d |.Mouse m|ileage.-|
|00000280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 49 27 |--------|----..I'|
|00000290| 6d 20 72 65 61 6c 6c 79 | 20 66 2a 2a 2a 65 64 20 |m really| f***ed |
|000002a0| 6f 66 66 20 77 69 74 68 | 20 74 68 69 73 20 70 72 |off with| this pr|
|000002b0| 6f 67 72 61 6d 20 6e 6f | 77 2e 20 49 20 63 61 6e |ogram no|w. I can|
|000002c0| 27 74 20 63 61 6c 69 62 | 72 61 74 65 20 69 74 0a |'t calib|rate it.|
|000002d0| 63 6f 72 72 65 63 74 6c | 79 20 61 6e 64 20 69 66 |correctl|y and if|
|000002e0| 20 73 6f 6d 65 62 6f 64 | 79 20 65 6c 73 65 20 63 | somebod|y else c|
|000002f0| 6f 75 6c 64 20 49 27 64 | 20 62 65 20 72 65 61 6c |ould I'd| be real|
|00000300| 6c 79 20 67 72 61 74 65 | 66 75 6c 21 0a 0a 42 61 |ly grate|ful!..Ba|
|00000310| 73 69 63 61 6c 6c 79 2c | 20 74 68 69 73 20 70 72 |sically,| this pr|
|00000320| 6f 67 72 61 6d 20 6d 65 | 61 73 75 72 65 73 20 68 |ogram me|asures h|
|00000330| 6f 77 20 66 61 72 20 79 | 6f 75 20 6d 6f 76 65 20 |ow far y|ou move |
|00000340| 74 68 65 20 6d 6f 75 73 | 65 20 69 6e 20 6f 6e 65 |the mous|e in one|
|00000350| 0a 73 65 73 73 69 6f 6e | 20 69 6e 20 6d 69 6c 65 |.session| in mile|
|00000360| 73 2c 20 6b 69 6c 6f 6d | 65 74 72 65 73 2c 20 63 |s, kilom|etres, c|
|00000370| 6d 20 61 6e 64 20 69 6e | 63 68 65 73 2e 20 49 74 |m and in|ches. It|
|00000380| 20 61 6c 73 6f 20 63 6f | 75 6e 74 73 20 68 6f 77 | also co|unts how|
|00000390| 20 6d 61 6e 79 0a 74 69 | 6d 65 73 20 79 6f 75 20 | many.ti|mes you |
|000003a0| 70 72 65 73 73 20 74 68 | 65 20 62 75 74 74 6f 6e |press th|e button|
|000003b0| 73 2e 20 54 6f 20 64 69 | 73 70 6c 61 79 20 74 68 |s. To di|splay th|
|000003c0| 65 20 72 65 73 75 6c 74 | 73 2c 20 65 69 74 68 65 |e result|s, eithe|
|000003d0| 72 20 74 79 70 65 0a 2a | 4d 69 6c 65 61 67 65 20 |r type.*|Mileage |
|000003e0| 6f 72 20 73 68 75 74 20 | 74 68 65 20 6d 61 63 68 |or shut |the mach|
|000003f0| 69 6e 65 20 64 6f 77 6e | 2e 0a 0a 49 6e 73 69 64 |ine down|...Insid|
|00000400| 65 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |e the ap|plicatio|
|00000410| 6e 2c 20 61 73 20 77 65 | 6c 6c 20 61 73 20 74 68 |n, as we|ll as th|
|00000420| 65 20 6d 6f 64 75 6c 65 | 20 26 20 73 6f 75 72 63 |e module| & sourc|
|00000430| 65 20 63 6f 64 65 2c 20 | 74 68 65 72 65 20 61 72 |e code, |there ar|
|00000440| 65 0a 74 77 6f 20 70 72 | 6f 67 72 61 6d 73 3a 20 |e.two pr|ograms: |
|00000450| 43 61 6c 69 62 72 61 74 | 65 20 26 20 54 65 73 74 |Calibrat|e & Test|
|00000460| 2e 20 54 68 65 20 66 6f | 72 6d 65 72 20 6c 65 74 |. The fo|rmer let|
|00000470| 73 20 79 6f 75 20 63 61 | 6c 69 62 72 61 74 65 20 |s you ca|librate |
|00000480| 74 68 65 0a 70 72 6f 67 | 72 61 6d 20 61 73 20 69 |the.prog|ram as i|
|00000490| 74 20 69 73 20 70 72 65 | 74 74 79 20 69 6e 61 63 |t is pre|tty inac|
|000004a0| 63 75 72 61 74 65 20 77 | 68 65 6e 20 6d 65 61 73 |curate w|hen meas|
|000004b0| 75 72 69 6e 67 20 63 6d | 20 26 20 69 6e 63 68 65 |uring cm| & inche|
|000004c0| 73 20 61 6e 64 20 74 68 | 65 0a 6c 61 74 74 65 72 |s and th|e.latter|
|000004d0| 20 67 69 76 65 73 20 61 | 20 63 6f 6e 73 74 61 6e | gives a| constan|
|000004e0| 74 20 6d 69 6c 65 61 67 | 65 20 72 65 70 6f 72 74 |t mileag|e report|
|000004f0| 20 74 6f 20 74 65 73 74 | 20 74 68 65 20 70 72 6f | to test| the pro|
|00000500| 67 72 61 6d 20 77 69 74 | 68 2e 0a 0a 4b 6e 6f 77 |gram wit|h...Know|
|00000510| 6e 20 70 72 6f 62 6c 65 | 6d 3a 20 54 68 65 20 70 |n proble|m: The p|
|00000520| 72 6f 67 72 61 6d 20 64 | 6f 65 73 6e 27 74 20 6d |rogram d|oesn't m|
|00000530| 65 61 73 75 72 65 20 69 | 6e 63 68 65 73 20 26 20 |easure i|nches & |
|00000540| 63 6d 20 70 72 6f 70 65 | 72 6c 79 2e 20 49 27 6d |cm prope|rly. I'm|
|00000550| 0a 62 6f 72 65 64 20 77 | 69 74 68 20 64 6f 69 6e |.bored w|ith doin|
|00000560| 67 20 69 74 20 6d 79 73 | 65 6c 66 20 73 6f 20 63 |g it mys|elf so c|
|00000570| 61 6e 20 73 6f 6d 65 62 | 6f 64 79 20 65 6c 73 65 |an someb|ody else|
|00000580| 20 73 65 6e 64 20 6d 65 | 20 73 6f 6d 65 20 76 61 | send me| some va|
|00000590| 6c 75 65 73 0a 77 68 69 | 63 68 20 77 6f 72 6b 20 |lues.whi|ch work |
|000005a0| 70 72 6f 70 65 72 6c 79 | 20 70 6c 65 61 73 65 3f |properly| please?|
|000005b0| 20 54 68 69 73 20 63 6f | 75 6c 64 20 62 65 20 64 | This co|uld be d|
|000005c0| 75 65 20 74 6f 20 74 68 | 65 20 63 61 6c 69 62 72 |ue to th|e calibr|
|000005d0| 61 74 69 6f 6e 0a 70 72 | 6f 67 72 61 6d 2e 20 54 |ation.pr|ogram. T|
|000005e0| 68 65 20 70 72 6f 67 72 | 61 6d 20 77 6f 72 6b 73 |he progr|am works|
|000005f0| 20 6f 75 74 20 74 68 65 | 73 65 20 6d 65 61 73 75 | out the|se measu|
|00000600| 72 65 6d 65 6e 74 73 20 | 62 79 20 64 69 76 69 64 |rements |by divid|
|00000610| 69 6e 67 20 74 68 65 20 | 6e 6f 2e 20 6f 66 0a 70 |ing the |no. of.p|
|00000620| 69 78 65 6c 73 20 6d 6f | 76 65 64 20 62 79 20 61 |ixels mo|ved by a|
|00000630| 20 66 69 78 65 64 20 76 | 61 6c 75 65 2e 20 49 74 | fixed v|alue. It|
|00000640| 20 69 73 20 74 68 69 73 | 20 76 61 6c 75 65 20 74 | is this| value t|
|00000650| 68 61 74 20 49 20 63 61 | 6e 27 74 20 67 65 74 20 |hat I ca|n't get |
|00000660| 72 69 67 68 74 2e 0a 41 | 6e 73 77 65 72 73 20 6f |right..A|nswers o|
|00000670| 6e 20 61 20 70 6f 73 74 | 63 61 72 64 20 70 6c 65 |n a post|card ple|
|00000680| 61 73 65 20 74 6f 2e 2e | 2e 0a 0a 4d 61 74 74 68 |ase to..|...Matth|
|00000690| 65 77 20 42 6c 6f 63 68 | 2c 0a 35 20 42 72 6f 6f |ew Bloch|,.5 Broo|
|000006a0| 6b 73 69 64 65 2c 0a 48 | 65 61 64 69 6e 67 74 6f |kside,.H|eadingto|
|000006b0| 6e 2c 0a 4f 78 66 6f 72 | 64 2c 20 4f 58 33 20 37 |n,.Oxfor|d, OX3 7|
|000006c0| 50 4a 2e 0a 0a 54 68 69 | 73 20 61 64 64 72 65 73 |PJ...Thi|s addres|
|000006d0| 73 20 61 6c 73 6f 20 61 | 70 70 6c 69 65 73 20 74 |s also a|pplies t|
|000006e0| 6f 20 70 65 6f 70 6c 65 | 20 77 68 6f 20 77 61 6e |o people| who wan|
|000006f0| 74 20 74 6f 20 64 65 73 | 69 67 6e 20 61 20 64 65 |t to des|ign a de|
|00000700| 63 65 6e 74 20 69 63 6f | 6e 20 66 6f 72 0a 74 68 |cent ico|n for.th|
|00000710| 65 20 70 72 6f 67 72 61 | 6d 2e 0a 0a 20 20 20 20 |e progra|m... |
|00000720| 2a 2a 2a 0a 0a 42 79 20 | 74 68 65 20 77 61 79 2c |***..By |the way,|
|00000730| 20 74 68 69 73 20 70 72 | 6f 67 72 61 6d 20 69 73 | this pr|ogram is|
|00000740| 20 66 72 65 65 77 61 72 | 65 2e 20 54 68 69 73 20 | freewar|e. This |
|00000750| 6d 65 61 6e 73 20 74 68 | 61 74 20 69 74 20 63 61 |means th|at it ca|
|00000760| 6e 20 62 65 0a 64 69 73 | 74 72 69 62 75 74 65 64 |n be.dis|tributed|
|00000770| 20 62 79 20 61 6e 79 6f | 6e 65 20 74 6f 20 61 6e | by anyo|ne to an|
|00000780| 79 6f 6e 65 20 65 6c 73 | 65 20 66 72 65 65 20 6f |yone els|e free o|
|00000790| 66 20 63 68 61 72 67 65 | 2e 20 54 68 69 73 20 65 |f charge|. This e|
|000007a0| 78 63 6c 75 64 65 73 20 | 50 44 0a 6c 69 62 72 61 |xcludes |PD.libra|
|000007b0| 72 69 65 73 20 77 68 6f | 20 6d 75 73 74 20 61 74 |ries who| must at|
|000007c0| 20 6c 65 61 73 74 20 77 | 61 72 6e 20 6d 65 20 62 | least w|arn me b|
|000007d0| 65 66 6f 72 65 20 64 69 | 73 74 72 69 62 75 74 69 |efore di|stributi|
|000007e0| 6e 67 20 74 68 69 73 20 | 70 72 6f 67 72 61 6d 2e |ng this |program.|
|000007f0| 0a 41 6c 6c 20 66 69 6c | 65 73 20 6d 75 73 74 20 |.All fil|es must |
|00000800| 62 65 20 69 6e 63 6c 75 | 64 65 64 20 61 6e 64 20 |be inclu|ded and |
|00000810| 75 6e 63 68 61 6e 67 65 | 64 2e 0a 46 69 6c 65 44 |unchange|d..FileD|
|00000820| 61 74 61 82 21 52 75 6e | 00 00 67 65 00 f3 ff 52 |ata.!Run|..ge...R|
|00000830| 00 00 00 45 eb ff ff d4 | 12 ce 45 03 00 c6 0b 53 |...E....|..E....S|
|00000840| 65 74 20 4d 69 6c 65 61 | 67 65 24 44 69 72 20 3c |et Milea|ge$Dir <|
|00000850| 4f 62 65 79 24 44 69 72 | 3e 0a 52 4d 45 6e 73 75 |Obey$Dir|>.RMEnsu|
|00000860| 72 65 20 4d 6f 75 73 65 | 4d 69 6c 65 61 67 65 20 |re Mouse|Mileage |
|00000870| 31 2e 30 30 20 52 4d 4c | 6f 61 64 20 3c 4d 69 6c |1.00 RML|oad <Mil|
|00000880| 65 61 67 65 24 44 69 72 | 3e 2e 4d 69 6c 65 61 67 |eage$Dir|>.Mileag|
|00000890| 65 46 69 6c 65 44 61 74 | 61 82 21 53 70 72 69 74 |eFileDat|a.!Sprit|
|000008a0| 65 73 00 f3 ff 38 02 00 | 00 45 f9 ff ff ee 68 cb |es...8..|.E....h.|
|000008b0| 45 03 00 dc 3b 01 00 00 | 00 10 00 00 00 3c 02 00 |E...;...|.....<..|
|000008c0| 00 2c 02 00 00 21 6d 69 | 6c 65 61 67 65 00 00 00 |.,...!mi|leage...|
|000008d0| 00 03 00 00 00 0f 00 00 | 00 00 00 00 00 1f 00 00 |........|........|
|000008e0| 00 2c 00 00 00 2c 01 00 | 00 0c 00 00 00 aa aa aa |.,...,..|........|
|000008f0| aa aa aa aa aa aa aa aa | aa aa aa aa aa aa aa aa |........|........|
|00000900| aa aa aa aa aa fa af aa | aa aa aa aa aa aa aa aa |........|........|
|00000910| aa aa aa aa aa fa f8 af | aa aa aa aa aa aa aa aa |........|........|
|00000920| aa aa aa aa aa fa 88 f8 | af aa aa aa aa aa aa aa |........|........|
|00000930| aa aa aa aa aa fa 88 88 | f8 ff aa aa aa aa aa aa |........|........|
|00000940| aa aa aa aa aa fa 88 88 | 88 88 ff aa aa aa aa aa |........|........|
|00000950| aa aa aa aa aa fa 88 88 | f8 ff ff aa aa aa aa aa |........|........|
|00000960| aa aa aa aa aa fa f8 ff | 88 af aa aa aa aa aa aa |........|........|
|00000970| aa aa aa 7a 77 77 77 a7 | 8f f8 aa aa aa aa aa aa |...zwww.|........|
|00000980| aa 77 77 17 11 17 11 7b | 77 77 af aa aa aa aa aa |.ww....{|ww......|
|00000990| 77 71 11 11 11 17 b1 bb | 11 11 77 aa aa aa aa 77 |wq......|..w....w|
|000009a0| 11 11 17 11 11 11 b1 1b | 11 11 71 a7 aa aa 7a 11 |........|..q...z.|
|000009b0| 11 11 11 11 11 11 bb 11 | 11 11 11 71 aa aa 7a 77 |........|...q..zw|
|000009c0| 11 11 11 11 11 11 bb 11 | 11 11 71 77 aa aa 17 11 |........|..qw....|
|000009d0| 11 11 11 11 11 b1 1b 11 | 11 11 11 11 a7 aa 77 17 |........|......w.|
|000009e0| 11 11 11 11 11 bb 11 11 | 11 11 11 77 a7 00 00 00 |........|...w....|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 f0 0f 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 f0 ff 0f | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 f0 ff ff | 0f 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 f0 ff ff | ff ff 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 f0 ff ff | ff ff ff 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 f0 ff ff | ff ff ff 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 f0 ff ff | ff 0f 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 f0 ff ff ff 0f | ff ff 00 00 00 00 00 00 |........|........|
|00000a80| 00 ff ff ff ff ff ff ff | ff ff 0f 00 00 00 00 00 |........|........|
|00000a90| ff ff ff ff ff ff ff ff | ff ff ff 00 00 00 00 ff |........|........|
|00000aa0| ff ff ff ff ff ff ff ff | ff ff ff 0f 00 00 f0 ff |........|........|
|00000ab0| ff ff ff ff ff ff ff ff | ff ff ff ff 00 00 f0 ff |........|........|
|00000ac0| ff ff ff ff ff ff ff ff | ff ff ff ff 00 00 ff ff |........|........|
|00000ad0| ff ff ff ff ff ff ff ff | ff ff ff ff 0f 00 ff ff |........|........|
|00000ae0| ff ff ff ff ff ff ff ff | ff ff ff ff 0f 46 69 6c |........|.....Fil|
|00000af0| 65 44 61 74 61 82 43 61 | 6c 69 62 72 61 74 65 00 |eData.Ca|librate.|
|00000b00| ff 1d 02 00 00 45 fb ff | ff 4b 63 d8 47 03 00 61 |.....E..|.Kc.G..a|
|00000b10| cd 0d 00 0a 10 f4 20 3e | 43 61 6c 69 62 72 61 74 |...... >|Calibrat|
|00000b20| 65 0d 00 14 05 3a 0d 00 | 1e 06 eb 30 0d 00 28 9b |e....:..|...0..(.|
|00000b30| f1 22 50 6c 61 63 65 20 | 6d 6f 75 73 65 20 6f 6e |."Place |mouse on|
|00000b40| 20 74 68 65 20 6c 65 66 | 74 20 6f 66 20 79 6f 75 | the lef|t of you|
|00000b50| 72 20 6d 6f 75 73 65 20 | 6d 61 74 2c 20 63 6c 69 |r mouse |mat, cli|
|00000b60| 63 6b 20 26 20 68 6f 6c | 64 20 74 68 65 20 6c 65 |ck & hol|d the le|
|00000b70| 66 74 20 62 75 74 74 6f | 6e 20 61 6e 64 20 6d 6f |ft butto|n and mo|
|00000b80| 76 65 20 74 68 65 20 6d | 6f 75 73 65 20 31 30 63 |ve the m|ouse 10c|
|00000b90| 6d 20 74 6f 20 74 68 65 | 20 72 69 67 68 74 2e 20 |m to the| right. |
|00000ba0| 4c 65 74 20 67 6f 20 6f | 66 20 74 68 65 20 6d 6f |Let go o|f the mo|
|00000bb0| 75 73 65 20 62 75 74 74 | 6f 6e 20 66 6f 72 20 76 |use butt|on for v|
|00000bc0| 61 6c 75 65 73 2e 22 0d | 00 32 15 c8 97 20 b8 20 |alues.".|.2... . |
|00000bd0| 30 2c 35 31 32 3a c8 97 | 20 88 20 31 0d 00 3c 13 |0,512:..| . 1..<.|
|00000be0| c8 97 20 c8 93 20 30 2c | 35 31 32 2c 31 2c 31 0d |.. .. 0,|512,1,1.|
|00000bf0| 00 46 08 c8 97 20 ee 0d | 00 50 19 f5 3a c8 97 20 |.F... ..|.P..:.. |
|00000c00| 78 25 2c 79 25 2c 62 25 | 3a fd 20 62 25 3c 3e 30 |x%,y%,b%|:. b%<>0|
|00000c10| 0d 00 5a 16 c8 97 20 c8 | 93 20 30 2c 35 31 32 2c |..Z... .|. 0,512,|
|00000c20| 32 35 36 30 2c 31 0d 00 | 64 23 f5 3a c8 97 20 78 |2560,1..|d#.:.. x|
|00000c30| 25 2c 79 25 2c 62 25 3a | f0 20 36 39 2c 78 25 2c |%,y%,b%:|. 69,x%,|
|00000c40| 79 25 3a fd 20 62 25 3d | 30 0d 00 6e 23 c8 97 20 |y%:. b%=|0..n#.. |
|00000c50| c8 93 20 30 2c 30 2c 31 | 32 38 30 2c 31 30 32 34 |.. 0,0,1|280,1024|
|00000c60| 3a c8 97 20 88 20 33 3a | c8 97 20 87 0d 00 78 18 |:.. . 3:|.. ...x.|
|00000c70| f1 22 63 6d 64 69 76 25 | 3a 20 22 3b a8 28 78 25 |."cmdiv%|: ";.(x%|
|00000c80| 2f 31 30 29 0d 00 82 1a | f1 22 69 6e 64 69 76 25 |/10)....|."indiv%|
|00000c90| 3a 20 22 3b a8 28 78 25 | 2f 33 2e 39 33 29 0d 00 |: ";.(x%|/3.93)..|
|00000ca0| 8c 18 f1 22 6b 6d 64 69 | 76 25 3a 20 22 3b 78 25 |..."kmdi|v%: ";x%|
|00000cb0| 2a 31 30 30 30 30 0d 00 | 96 1d f1 22 6d 6c 64 69 |*10000..|..."mldi|
|00000cc0| 76 25 3a 20 22 3b a8 28 | 78 25 2a 32 30 37 35 30 |v%: ";.(|x%*20750|
|00000cd0| 2e 34 29 0d 00 a0 54 f1 | 27 22 54 68 65 73 65 20 |.4)...T.|'"These |
|00000ce0| 76 61 6c 75 65 73 20 63 | 61 6e 20 62 65 20 70 75 |values c|an be pu|
|00000cf0| 74 20 69 6e 74 6f 20 74 | 68 65 20 27 53 6f 75 72 |t into t|he 'Sour|
|00000d00| 63 65 27 20 70 72 6f 67 | 72 61 6d 20 61 6e 64 20 |ce' prog|ram and |
|00000d10| 74 68 65 20 6d 6f 64 75 | 6c 65 20 72 65 63 6f 6d |the modu|le recom|
|00000d20| 70 69 6c 65 64 2e 22 0d | 00 aa 05 e0 0d ff 46 69 |piled.".|......Fi|
|00000d30| 6c 65 44 61 74 61 82 4d | 69 6c 65 61 67 65 00 65 |leData.M|ileage.e|
|00000d40| 00 ff 5c 05 00 00 45 fa | ff ff 42 7f d8 47 03 00 |..\...E.|..B..G..|
|00000d50| 10 a9 00 00 00 00 24 04 | 00 00 60 04 00 00 cc 00 |......$.|..`.....|
|00000d60| 00 00 1c 00 00 00 29 00 | 00 00 60 01 00 00 4d 6f |......).|..`...Mo|
|00000d70| 75 73 65 4d 69 6c 65 61 | 67 65 00 4d 6f 75 73 65 |useMilea|ge.Mouse|
|00000d80| 4d 69 6c 65 61 67 65 20 | 20 20 20 31 2e 30 30 20 |Mileage | 1.00 |
|00000d90| 28 31 37 20 41 70 72 20 | 31 39 39 34 29 0d 0d 54 |(17 Apr |1994)..T|
|00000da0| 68 69 73 20 6d 6f 64 75 | 6c 65 20 72 65 63 6f 72 |his modu|le recor|
|00000db0| 64 73 20 73 6f 6d 65 20 | 75 6e 69 6e 74 65 72 65 |ds some |unintere|
|00000dc0| 73 74 69 6e 67 20 73 74 | 61 74 69 73 74 69 63 73 |sting st|atistics|
|00000dd0| 20 61 62 6f 75 74 20 6d | 6f 75 73 65 20 61 63 74 | about m|ouse act|
|00000de0| 69 76 69 74 79 2e 20 49 | 74 20 77 69 6c 6c 20 61 |ivity. I|t will a|
|00000df0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 64 69 73 |utomatic|ally dis|
|00000e00| 70 6c 61 79 20 69 74 73 | 20 72 65 73 75 6c 74 73 |play its| results|
|00000e10| 20 6f 6e 20 73 68 75 74 | 64 6f 77 6e 2e 00 80 00 | on shut|down....|
|00000e20| 51 e3 0e f0 a0 11 1f 40 | 2d e9 68 00 8f e2 ef 00 |Q......@|-.h.....|
|00000e30| 06 ef 43 00 00 eb 03 00 | 02 ef 01 00 02 ef 50 72 |..C.....|......Pr|
|00000e40| 65 73 73 20 53 50 41 43 | 45 20 6f 72 20 63 6c 69 |ess SPAC|E or cli|
|00000e50| 63 6b 20 6d 6f 75 73 65 | 20 74 6f 20 73 68 75 74 |ck mouse| to shut|
|00000e60| 20 64 6f 77 6e 20 6d 61 | 63 68 69 6e 65 2e 00 01 | down ma|chine...|
|00000e70| 4a 1d 79 00 a0 e3 00 10 | a0 e3 06 00 02 ef ff 00 |J.y.....|........|
|00000e80| 51 e3 fa ff ff 0a 08 00 | 8f e2 00 00 90 e5 ef 00 |Q.......|........|
|00000e90| 06 ef 1f 80 bd e8 ff ff | ff ff 4d 6f 75 73 65 20 |........|..Mouse |
|00000ea0| 6d 69 6c 65 61 67 65 20 | 72 65 70 6f 72 74 3a 00 |mileage |report:.|
|00000eb0| 01 68 4d 69 6c 65 61 67 | 65 00 f4 01 00 00 00 00 |.hMileag|e.......|
|00000ec0| 00 00 7c 01 00 00 8d 01 | 00 00 00 20 22 50 53 79 |..|.....|... "PSy|
|00000ed0| 6e 74 61 78 3a 20 2a 4d | 69 6c 65 61 67 65 00 54 |ntax: *M|ileage.T|
|00000ee0| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 77 69 6c 6c |his comm|and will|
|00000ef0| 20 64 69 73 70 6c 61 79 | 20 73 6f 6d 65 20 73 74 | display| some st|
|00000f00| 61 74 69 73 74 69 63 73 | 20 61 62 6f 75 74 20 68 |atistics| about h|
|00000f10| 6f 77 20 6d 75 63 68 20 | 74 68 65 20 6d 6f 75 73 |ow much |the mous|
|00000f20| 65 20 68 61 73 20 6d 6f | 76 65 64 2c 20 62 75 74 |e has mo|ved, but|
|00000f30| 74 6f 6e 73 20 70 72 65 | 73 73 65 64 2c 20 65 74 |tons pre|ssed, et|
|00000f40| 63 2e 00 01 a4 0f 0f 40 | 2d e9 01 00 00 ef 44 69 |c......@|-.....Di|
|00000f50| 73 74 61 6e 63 65 20 6d | 6f 76 65 64 3a 20 00 70 |stance m|oved: .p|
|00000f60| 25 0d 7b 0f 8f e2 00 00 | 90 e5 54 00 00 eb 01 00 |%.{.....|..T.....|
|00000f70| 00 ef 20 70 69 78 65 6c | 73 2c 20 00 3b 20 1d 0e |.. pixel|s, .; ..|
|00000f80| 8f e2 00 00 90 e5 76 1f | 8f e2 00 10 91 e5 5a 00 |......v.|......Z.|
|00000f90| 00 eb 02 00 a0 e1 49 00 | 00 eb 01 00 00 ef 63 6d |......I.|......cm|
|00000fa0| 2c 20 00 19 4c 44 6a 0f | 8f e2 00 00 90 e5 6d 1f |, ..LDj.|......m.|
|00000fb0| 8f e2 00 10 91 e5 50 00 | 00 eb 02 00 a0 e1 3f 00 |......P.|......?.|
|00000fc0| 00 eb 01 00 00 ef 20 69 | 6e 63 68 65 73 2c 20 00 |...... i|nches, .|
|00000fd0| ea 05 5f 0f 8f e2 00 00 | 90 e5 63 1f 8f e2 00 10 |.._.....|..c.....|
|00000fe0| 91 e5 45 00 00 eb 02 00 | a0 e1 34 00 00 eb 01 00 |..E.....|..4.....|
|00000ff0| 00 ef 6b 6d 2c 20 00 65 | 61 67 55 0f 8f e2 00 00 |..km, .e|agU.....|
|00001000| 90 e5 5a 1f 8f e2 00 10 | 91 e5 3b 00 00 eb 02 00 |..Z.....|..;.....|
|00001010| a0 e1 2a 00 00 eb 01 00 | 00 ef 20 6d 69 6c 65 73 |..*.....|.. miles|
|00001020| 2e 00 03 00 00 ef 00 10 | a0 e3 01 00 00 ef 42 75 |........|......Bu|
|00001030| 74 74 6f 6e 73 20 70 72 | 65 73 73 65 64 3a 20 00 |ttons pr|essed: .|
|00001040| 51 55 01 0c 8f e2 00 00 | 90 e5 00 10 81 e0 1b 00 |QU......|........|
|00001050| 00 eb 01 00 00 ef 20 6c | 65 66 74 2c 20 00 e8 00 |...... l|eft, ...|
|00001060| 8f e2 00 00 90 e5 00 10 | 81 e0 14 00 00 eb 01 00 |........|........|
|00001070| 00 ef 20 6d 69 64 64 6c | 65 2c 20 00 0d 02 cc 00 |.. middl|e, .....|
|00001080| 8f e2 00 00 90 e5 00 10 | 81 e0 0c 00 00 eb 01 00 |........|........|
|00001090| 00 ef 20 72 69 67 68 74 | 20 28 00 0d 02 58 01 00 |.. right| (...X..|
|000010a0| a0 e1 06 00 00 eb 01 00 | 00 ef 20 63 6c 69 63 6b |........|.. click|
|000010b0| 73 20 74 6f 74 61 6c 29 | 2e 00 03 00 00 ef 0f 80 |s total)|........|
|000010c0| bd e8 06 40 2d e9 10 10 | 8f e2 20 20 a0 e3 d8 00 |...@-...|.. ....|
|000010d0| 00 ef 04 00 8f e2 02 00 | 00 ef 06 80 bd e8 2d 2d |........|......--|
|000010e0| 2d 2d 2d 2d 2d 2d 2d 2a | 2d 2d 2d 2d 2d 2d 2d 2d |-------*|--------|
|000010f0| 2d 2a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2a 2d 2d f8 41 |-*------|---*--.A|
|00001100| 2d e9 01 60 a0 e1 24 10 | 8f e2 12 20 a0 e3 d8 00 |-..`..$.|... ....|
|00001110| 00 ef 2f 70 a0 e3 01 70 | c1 e4 06 00 a0 e1 d8 00 |../p...p|........|
|00001120| 00 ef 08 00 8f e2 00 10 | a0 e3 2d 00 00 ef f8 81 |........|..-.....|
|00001130| bd e8 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00001140| 20 20 20 20 2b 74 56 41 | 52 53 00 00 00 00 00 00 | +tVA|RS......|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 4e 00 | 00 00 c6 00 00 00 e0 52 |......N.|.......R|
|00001170| 77 00 fc 99 f7 00 ff 40 | 2d e9 1c 00 02 ef 2c 20 |w......@|-....., |
|00001180| 4f e2 2c 30 4f e2 00 00 | 82 e5 00 10 83 e5 10 00 |O.,0O...|........|
|00001190| a0 e3 e4 10 8f e2 00 20 | a0 e3 1f 00 02 ef 09 00 |....... |........|
|000011a0| a0 e3 8c 10 8f e2 00 20 | a0 e3 3c 00 02 ef ff 80 |....... |..<.....|
|000011b0| bd e8 ff 40 2d e9 78 00 | 8f e2 00 10 a0 e3 3d 00 |...@-.x.|......=.|
|000011c0| 02 ef 10 00 a0 e3 b0 10 | 8f e2 00 20 a0 e3 20 00 |........|... .. .|
|000011d0| 02 ef ff 80 bd e8 03 40 | 2d e9 98 00 4f e2 00 10 |.......@|-...O...|
|000011e0| 90 e5 01 10 81 e2 00 10 | 80 e5 03 80 bd e8 03 40 |........|.......@|
|000011f0| 2d e9 ac 00 4f e2 00 10 | 90 e5 01 10 81 e2 00 10 |-...O...|........|
|00001200| 80 e5 03 80 bd e8 03 40 | 2d e9 c0 00 4f e2 00 10 |.......@|-...O...|
|00001210| 90 e5 01 10 81 e2 00 10 | 80 e5 03 80 bd e8 03 40 |........|.......@|
|00001220| 2d e9 d4 00 4f e2 00 10 | 90 e5 02 10 81 e0 00 10 |-...O...|........|
|00001230| 80 e5 03 80 bd e8 ff 43 | 2d e9 1c 00 02 ef ec 50 |.......C|-......P|
|00001240| 4f e2 ec 60 4f e2 00 30 | 95 e5 00 40 96 e5 03 00 |O..`O..0|...@....|
|00001250| 50 e1 03 70 40 a0 00 70 | 43 b0 04 00 51 e1 04 80 |P..p@..p|C...Q...|
|00001260| 41 a0 01 80 44 b0 08 90 | 87 e0 09 20 a0 e1 ea ff |A...D...|... ....|
|00001270| ff eb 00 00 85 e5 00 10 | 86 e5 ff 83 bd e8 0b 00 |........|........|
|00001280| 50 e3 0e f0 a0 11 01 00 | 51 e3 0e f0 a0 11 00 40 |P.......|Q......@|
|00001290| 2d e9 70 00 52 e3 ce ff | ff 0b 71 00 52 e3 d2 ff |-.p.R...|..q.R...|
|000012a0| ff 0b 72 00 52 e3 d6 ff | ff 0b 00 80 bd e8 46 69 |..r.R...|......Fi|
|000012b0| 6c 65 44 61 74 61 82 53 | 6f 75 72 63 65 00 00 65 |leData.S|ource..e|
|000012c0| 00 ff b8 16 00 00 45 fb | ff ff 87 7e d8 47 03 00 |......E.|...~.G..|
|000012d0| bf 46 0d 00 0a 11 f4 20 | 3e 4d 69 6c 65 61 67 65 |.F..... |>Mileage|
|000012e0| 53 72 63 0d 00 14 05 3a | 0d 00 1e 1a ee 20 85 20 |Src....:|..... . |
|000012f0| f6 3a f1 22 20 61 74 20 | 6c 69 6e 65 20 22 3b 9e |.:." at |line ";.|
|00001300| 3a e0 0d 00 28 19 74 69 | 74 6c 65 24 3d 22 4d 6f |:...(.ti|tle$="Mo|
|00001310| 75 73 65 4d 69 6c 65 61 | 67 65 22 0d 00 32 bd 68 |useMilea|ge"..2.h|
|00001320| 65 6c 70 24 3d 22 4d 6f | 75 73 65 4d 69 6c 65 61 |elp$="Mo|useMilea|
|00001330| 67 65 20 20 20 20 31 2e | 30 30 20 28 22 2b c1 91 |ge 1.|00 ("+..|
|00001340| 24 2c 35 2c 31 31 29 2b | 22 29 22 2b bd 28 31 33 |$,5,11)+|")"+.(13|
|00001350| 29 2b bd 28 31 33 29 2b | 22 54 68 69 73 20 6d 6f |)+.(13)+|"This mo|
|00001360| 64 75 6c 65 20 72 65 63 | 6f 72 64 73 20 73 6f 6d |dule rec|ords som|
|00001370| 65 20 75 6e 69 6e 74 65 | 72 65 73 74 69 6e 67 20 |e uninte|resting |
|00001380| 73 74 61 74 69 73 74 69 | 63 73 20 61 62 6f 75 74 |statisti|cs about|
|00001390| 20 6d 6f 75 73 65 20 61 | 63 74 69 76 69 74 79 2e | mouse a|ctivity.|
|000013a0| 20 49 74 20 77 69 6c 6c | 20 61 75 74 6f 6d 61 74 | It will| automat|
|000013b0| 69 63 61 6c 6c 79 20 64 | 69 73 70 6c 61 79 20 69 |ically d|isplay i|
|000013c0| 74 73 20 72 65 73 75 6c | 74 73 20 6f 6e 20 73 68 |ts resul|ts on sh|
|000013d0| 75 74 64 6f 77 6e 2e 22 | 0d 00 3c 05 3a 0d 00 46 |utdown."|..<.:..F|
|000013e0| 15 6c 65 6e 25 3d 32 30 | 34 38 3a 74 24 3d bd 28 |.len%=20|48:t$=.(|
|000013f0| 30 29 0d 00 50 12 de 20 | 6d 6f 64 75 6c 65 25 20 |0)..P.. |module% |
|00001400| 6c 65 6e 25 0d 00 5a 17 | e3 20 70 61 73 73 25 3d |len%..Z.|. pass%=|
|00001410| 31 32 20 b8 20 31 34 20 | 88 20 32 0d 00 64 23 50 |12 . 14 |. 2..d#P|
|00001420| 25 3d 30 3a 4f 25 3d 6d | 6f 64 75 6c 65 25 3a 4c |%=0:O%=m|odule%:L|
|00001430| 25 3d 6d 6f 64 75 6c 65 | 25 2b 6c 65 6e 25 0d 00 |%=module|%+len%..|
|00001440| 6e 18 f1 22 50 61 73 73 | 20 22 3b 70 61 73 73 25 |n.."Pass| ";pass%|
|00001450| 3b 22 2e 2e 2e 22 0d 00 | 78 05 5b 0d 00 82 0d 4f |;"..."..|x.[....O|
|00001460| 50 54 20 70 61 73 73 25 | 0d 00 8c 13 45 51 55 44 |PT pass%|....EQUD|
|00001470| 20 30 20 3b 20 73 74 61 | 72 74 25 0d 00 96 0e 45 | 0 ; sta|rt%....E|
|00001480| 51 55 44 20 69 6e 69 74 | 25 0d 00 a0 0f 45 51 55 |QUD init|%....EQU|
|00001490| 44 20 66 69 6e 61 6c 25 | 0d 00 aa 11 45 51 55 44 |D final%|....EQUD|
|000014a0| 20 73 65 72 76 69 63 65 | 25 0d 00 b4 0f 45 51 55 | service|%....EQU|
|000014b0| 44 20 74 69 74 6c 65 25 | 0d 00 be 0e 45 51 55 44 |D title%|....EQUD|
|000014c0| 20 68 65 6c 70 25 0d 00 | c8 12 45 51 55 44 20 63 | help%..|..EQUD c|
|000014d0| 6f 6d 6d 61 6e 64 73 25 | 0d 00 d2 05 3a 0d 00 dc |ommands%|....:...|
|000014e0| 0b 2e 74 69 74 6c 65 25 | 0d 00 e6 12 45 51 55 53 |..title%|....EQUS|
|000014f0| 20 74 69 74 6c 65 24 2b | 74 24 0d 00 f0 0a 2e 68 | title$+|t$.....h|
|00001500| 65 6c 70 25 0d 00 fa 11 | 45 51 55 53 20 68 65 6c |elp%....|EQUS hel|
|00001510| 70 24 2b 74 24 0d 01 04 | 09 41 4c 49 47 4e 0d 01 |p$+t$...|.ALIGN..|
|00001520| 0e 05 3a 0d 01 18 0d 2e | 73 65 72 76 69 63 65 25 |..:.....|service%|
|00001530| 0d 01 22 0f 43 4d 50 20 | 52 31 2c 23 26 38 30 0d |..".CMP |R1,#&80.|
|00001540| 01 2c 10 4d 4f 56 4e 45 | 20 50 43 2c 52 31 34 0d |.,.MOVNE| PC,R14.|
|00001550| 01 36 1a 53 54 4d 46 44 | 20 52 31 33 21 2c 7b 52 |.6.STMFD| R13!,{R|
|00001560| 30 2d 52 34 2c 52 31 34 | 7d 0d 01 40 17 41 44 52 |0-R4,R14|}..@.ADR|
|00001570| 20 52 30 2c 72 65 70 6f | 72 74 74 69 74 6c 65 25 | R0,repo|rttitle%|
|00001580| 0d 01 4a 1d 53 57 49 20 | 22 58 57 69 6d 70 5f 43 |..J.SWI |"XWimp_C|
|00001590| 6f 6d 6d 61 6e 64 57 69 | 6e 64 6f 77 22 0d 01 54 |ommandWi|ndow"..T|
|000015a0| 0f 42 4c 20 6d 69 6c 65 | 61 67 65 25 0d 01 5e 15 |.BL mile|age%..^.|
|000015b0| 53 57 49 20 22 58 4f 53 | 5f 4e 65 77 4c 69 6e 65 |SWI "XOS|_NewLine|
|000015c0| 22 0d 01 68 14 53 57 49 | 20 22 58 4f 53 5f 57 72 |"..h.SWI| "XOS_Wr|
|000015d0| 69 74 65 53 22 0d 01 72 | 44 45 51 55 53 20 22 50 |iteS"..r|DEQUS "P|
|000015e0| 72 65 73 73 20 53 50 41 | 43 45 20 6f 72 20 63 6c |ress SPA|CE or cl|
|000015f0| 69 63 6b 20 6d 6f 75 73 | 65 20 74 6f 20 73 68 75 |ick mous|e to shu|
|00001600| 74 20 64 6f 77 6e 20 6d | 61 63 68 69 6e 65 2e 22 |t down m|achine."|
|00001610| 2b 74 24 3a 41 4c 49 47 | 4e 0d 01 7c 0d 2e 6b 65 |+t$:ALIG|N..|..ke|
|00001620| 79 6c 6f 6f 70 25 0d 01 | 86 0f 4d 4f 56 20 52 30 |yloop%..|..MOV R0|
|00001630| 2c 23 31 32 31 0d 01 90 | 0d 4d 4f 56 20 52 31 2c |,#121...|.MOV R1,|
|00001640| 23 30 0d 01 9a 12 53 57 | 49 20 22 58 4f 53 5f 42 |#0....SW|I "XOS_B|
|00001650| 79 74 65 22 0d 01 a4 0f | 43 4d 50 20 52 31 2c 23 |yte"....|CMP R1,#|
|00001660| 26 46 46 0d 01 ae 10 42 | 45 51 20 6b 65 79 6c 6f |&FF....B|EQ keylo|
|00001670| 6f 70 25 0d 01 b8 22 41 | 44 52 20 52 30 2c 6d 31 |op%..."A|DR R0,m1|
|00001680| 25 3a 4c 44 52 20 52 30 | 2c 5b 52 30 5d 20 3b 20 |%:LDR R0|,[R0] ; |
|00001690| 52 30 3d 2d 31 0d 01 c2 | 1d 53 57 49 20 22 58 57 |R0=-1...|.SWI "XW|
|000016a0| 69 6d 70 5f 43 6f 6d 6d | 61 6e 64 57 69 6e 64 6f |imp_Comm|andWindo|
|000016b0| 77 22 0d 01 cc 19 4c 44 | 4d 46 44 20 52 31 33 21 |w"....LD|MFD R13!|
|000016c0| 2c 7b 52 30 2d 52 34 2c | 50 43 7d 0d 01 d6 05 3a |,{R0-R4,|PC}....:|
|000016d0| 0d 01 e0 10 2e 6d 31 25 | 3a 45 51 55 44 20 2d 31 |.....m1%|:EQUD -1|
|000016e0| 0d 01 ea 05 3a 0d 01 f4 | 11 2e 72 65 70 6f 72 74 |....:...|..report|
|000016f0| 74 69 74 6c 65 25 0d 01 | fe 29 45 51 55 53 20 22 |title%..|.)EQUS "|
|00001700| 4d 6f 75 73 65 20 6d 69 | 6c 65 61 67 65 20 72 65 |Mouse mi|leage re|
|00001710| 70 6f 72 74 3a 22 2b 74 | 24 3a 41 4c 49 47 4e 0d |port:"+t|$:ALIGN.|
|00001720| 02 08 05 3a 0d 02 12 0e | 2e 63 6f 6d 6d 61 6e 64 |...:....|.command|
|00001730| 73 25 0d 02 1c 1b 45 51 | 55 53 20 22 4d 69 6c 65 |s%....EQ|US "Mile|
|00001740| 61 67 65 22 2b 74 24 3a | 41 4c 49 47 4e 0d 02 26 |age"+t$:|ALIGN..&|
|00001750| 11 45 51 55 44 20 6d 69 | 6c 65 61 67 65 25 0d 02 |.EQUD mi|leage%..|
|00001760| 30 1f 45 51 55 42 20 30 | 3a 45 51 55 42 20 30 3a |0.EQUB 0|:EQUB 0:|
|00001770| 45 51 55 42 20 30 3a 45 | 51 55 42 20 30 0d 02 3a |EQUB 0:E|QUB 0..:|
|00001780| 11 45 51 55 44 20 6d 73 | 79 6e 74 61 78 25 0d 02 |.EQUD ms|yntax%..|
|00001790| 44 0f 45 51 55 44 20 6d | 68 65 6c 70 25 0d 02 4e |D.EQUD m|help%..N|
|000017a0| 10 45 51 55 42 20 30 3a | 41 4c 49 47 4e 0d 02 58 |.EQUB 0:|ALIGN..X|
|000017b0| 05 3a 0d 02 62 0d 2e 6d | 73 79 6e 74 61 78 25 0d |.:..b..m|syntax%.|
|000017c0| 02 6c 1e 45 51 55 53 20 | 22 53 79 6e 74 61 78 3a |.l.EQUS |"Syntax:|
|000017d0| 20 2a 4d 69 6c 65 61 67 | 65 22 2b 74 24 0d 02 76 | *Mileag|e"+t$..v|
|000017e0| 0b 2e 6d 68 65 6c 70 25 | 0d 02 80 71 45 51 55 53 |..mhelp%|...qEQUS|
|000017f0| 20 22 54 68 69 73 20 63 | 6f 6d 6d 61 6e 64 20 77 | "This c|ommand w|
|00001800| 69 6c 6c 20 64 69 73 70 | 6c 61 79 20 73 6f 6d 65 |ill disp|lay some|
|00001810| 20 73 74 61 74 69 73 74 | 69 63 73 20 61 62 6f 75 | statist|ics abou|
|00001820| 74 20 68 6f 77 20 6d 75 | 63 68 20 74 68 65 20 6d |t how mu|ch the m|
|00001830| 6f 75 73 65 20 68 61 73 | 20 6d 6f 76 65 64 2c 20 |ouse has| moved, |
|00001840| 62 75 74 74 6f 6e 73 20 | 70 72 65 73 73 65 64 2c |buttons |pressed,|
|00001850| 20 65 74 63 2e 22 2b 74 | 24 0d 02 8a 09 41 4c 49 | etc."+t|$....ALI|
|00001860| 47 4e 0d 02 94 0d 2e 6d | 69 6c 65 61 67 65 25 0d |GN.....m|ileage%.|
|00001870| 02 9e 1a 53 54 4d 46 44 | 20 52 31 33 21 2c 7b 52 |...STMFD| R13!,{R|
|00001880| 30 2d 52 33 2c 52 31 34 | 7d 0d 02 a8 14 20 53 57 |0-R3,R14|}.... SW|
|00001890| 49 20 22 4f 53 5f 57 72 | 69 74 65 53 22 0d 02 b2 |I "OS_Wr|iteS"...|
|000018a0| 25 20 45 51 55 53 20 22 | 44 69 73 74 61 6e 63 65 |% EQUS "|Distance|
|000018b0| 20 6d 6f 76 65 64 3a 20 | 22 2b 74 24 3a 41 4c 49 | moved: |"+t$:ALI|
|000018c0| 47 4e 0d 02 bc 3a 20 41 | 44 52 20 52 30 2c 6d 70 |GN...: A|DR R0,mp|
|000018d0| 69 78 25 3a 4c 44 52 20 | 52 30 2c 5b 52 30 5d 20 |ix%:LDR |R0,[R0] |
|000018e0| 3b 20 52 30 20 3d 20 64 | 69 73 74 61 6e 63 65 20 |; R0 = d|istance |
|000018f0| 6d 6f 76 65 64 2f 70 69 | 78 65 6c 73 0d 02 c6 14 |moved/pi|xels....|
|00001900| 20 42 4c 20 70 72 69 6e | 74 6e 75 6d 62 65 72 25 | BL prin|tnumber%|
|00001910| 0d 02 d0 14 20 53 57 49 | 20 22 4f 53 5f 57 72 69 |.... SWI| "OS_Wri|
|00001920| 74 65 53 22 0d 02 da 1e | 20 45 51 55 53 20 22 20 |teS"....| EQUS " |
|00001930| 70 69 78 65 6c 73 2c 20 | 22 2b 74 24 3a 41 4c 49 |pixels, |"+t$:ALI|
|00001940| 47 4e 0d 02 e4 1d 20 41 | 44 52 20 52 30 2c 6d 70 |GN.... A|DR R0,mp|
|00001950| 69 78 25 3a 4c 44 52 20 | 52 30 2c 5b 52 30 5d 0d |ix%:LDR |R0,[R0].|
|00001960| 02 ee 1e 20 41 44 52 20 | 52 31 2c 63 6d 64 69 76 |... ADR |R1,cmdiv|
|00001970| 25 3a 4c 44 52 20 52 31 | 2c 5b 52 31 5d 0d 02 f8 |%:LDR R1|,[R1]...|
|00001980| 0f 20 42 4c 20 64 69 76 | 69 64 65 25 0d 03 02 0e |. BL div|ide%....|
|00001990| 20 4d 4f 56 20 52 30 2c | 52 32 0d 03 0c 14 20 42 | MOV R0,|R2.... B|
|000019a0| 4c 20 70 72 69 6e 74 6e | 75 6d 62 65 72 25 0d 03 |L printn|umber%..|
|000019b0| 16 14 20 53 57 49 20 22 | 4f 53 5f 57 72 69 74 65 |.. SWI "|OS_Write|
|000019c0| 53 22 0d 03 20 19 20 45 | 51 55 53 20 22 63 6d 2c |S".. . E|QUS "cm,|
|000019d0| 20 22 2b 74 24 3a 41 4c | 49 47 4e 0d 03 2a 1d 20 | "+t$:AL|IGN..*. |
|000019e0| 41 44 52 20 52 30 2c 6d | 70 69 78 25 3a 4c 44 52 |ADR R0,m|pix%:LDR|
|000019f0| 20 52 30 2c 5b 52 30 5d | 0d 03 34 1e 20 41 44 52 | R0,[R0]|..4. ADR|
|00001a00| 20 52 31 2c 69 6e 64 69 | 76 25 3a 4c 44 52 20 52 | R1,indi|v%:LDR R|
|00001a10| 31 2c 5b 52 31 5d 0d 03 | 3e 0f 20 42 4c 20 64 69 |1,[R1]..|>. BL di|
|00001a20| 76 69 64 65 25 0d 03 48 | 0e 20 4d 4f 56 20 52 30 |vide%..H|. MOV R0|
|00001a30| 2c 52 32 0d 03 52 14 20 | 42 4c 20 70 72 69 6e 74 |,R2..R. |BL print|
|00001a40| 6e 75 6d 62 65 72 25 0d | 03 5c 14 20 53 57 49 20 |number%.|.\. SWI |
|00001a50| 22 4f 53 5f 57 72 69 74 | 65 53 22 0d 03 66 1e 20 |"OS_Writ|eS"..f. |
|00001a60| 45 51 55 53 20 22 20 69 | 6e 63 68 65 73 2c 20 22 |EQUS " i|nches, "|
|00001a70| 2b 74 24 3a 41 4c 49 47 | 4e 0d 03 70 1d 20 41 44 |+t$:ALIG|N..p. AD|
|00001a80| 52 20 52 30 2c 6d 70 69 | 78 25 3a 4c 44 52 20 52 |R R0,mpi|x%:LDR R|
|00001a90| 30 2c 5b 52 30 5d 0d 03 | 7a 1e 20 41 44 52 20 52 |0,[R0]..|z. ADR R|
|00001aa0| 31 2c 6b 6d 64 69 76 25 | 3a 4c 44 52 20 52 31 2c |1,kmdiv%|:LDR R1,|
|00001ab0| 5b 52 31 5d 0d 03 84 0f | 20 42 4c 20 64 69 76 69 |[R1]....| BL divi|
|00001ac0| 64 65 25 0d 03 8e 0e 20 | 4d 4f 56 20 52 30 2c 52 |de%.... |MOV R0,R|
|00001ad0| 32 0d 03 98 14 20 42 4c | 20 70 72 69 6e 74 6e 75 |2.... BL| printnu|
|00001ae0| 6d 62 65 72 25 0d 03 a2 | 14 20 53 57 49 20 22 4f |mber%...|. SWI "O|
|00001af0| 53 5f 57 72 69 74 65 53 | 22 0d 03 ac 19 20 45 51 |S_WriteS|".... EQ|
|00001b00| 55 53 20 22 6b 6d 2c 20 | 22 2b 74 24 3a 41 4c 49 |US "km, |"+t$:ALI|
|00001b10| 47 4e 0d 03 b6 1d 20 41 | 44 52 20 52 30 2c 6d 70 |GN.... A|DR R0,mp|
|00001b20| 69 78 25 3a 4c 44 52 20 | 52 30 2c 5b 52 30 5d 0d |ix%:LDR |R0,[R0].|
|00001b30| 03 c0 1e 20 41 44 52 20 | 52 31 2c 6d 6c 64 69 76 |... ADR |R1,mldiv|
|00001b40| 25 3a 4c 44 52 20 52 31 | 2c 5b 52 31 5d 0d 03 ca |%:LDR R1|,[R1]...|
|00001b50| 0f 20 42 4c 20 64 69 76 | 69 64 65 25 0d 03 d4 0e |. BL div|ide%....|
|00001b60| 20 4d 4f 56 20 52 30 2c | 52 32 0d 03 de 14 20 42 | MOV R0,|R2.... B|
|00001b70| 4c 20 70 72 69 6e 74 6e | 75 6d 62 65 72 25 0d 03 |L printn|umber%..|
|00001b80| e8 14 20 53 57 49 20 22 | 4f 53 5f 57 72 69 74 65 |.. SWI "|OS_Write|
|00001b90| 53 22 0d 03 f2 1c 20 45 | 51 55 53 20 22 20 6d 69 |S".... E|QUS " mi|
|00001ba0| 6c 65 73 2e 22 2b 74 24 | 3a 41 4c 49 47 4e 0d 03 |les."+t$|:ALIGN..|
|00001bb0| fc 14 53 57 49 20 22 4f | 53 5f 4e 65 77 4c 69 6e |..SWI "O|S_NewLin|
|00001bc0| 65 22 0d 04 06 0d 4d 4f | 56 20 52 31 2c 23 30 0d |e"....MO|V R1,#0.|
|00001bd0| 04 10 14 20 53 57 49 20 | 22 4f 53 5f 57 72 69 74 |... SWI |"OS_Writ|
|00001be0| 65 53 22 0d 04 1a 26 20 | 45 51 55 53 20 22 42 75 |eS"...& |EQUS "Bu|
|00001bf0| 74 74 6f 6e 73 20 70 72 | 65 73 73 65 64 3a 20 22 |ttons pr|essed: "|
|00001c00| 2b 74 24 3a 41 4c 49 47 | 4e 0d 04 24 46 20 41 44 |+t$:ALIG|N..$F AD|
|00001c10| 52 20 52 30 2c 6d 6c 65 | 66 74 25 3a 4c 44 52 20 |R R0,mle|ft%:LDR |
|00001c20| 52 30 2c 5b 52 30 5d 20 | 3b 20 52 30 20 3d 20 6e |R0,[R0] |; R0 = n|
|00001c30| 6f 2e 20 6f 66 20 74 69 | 6d 65 73 20 6c 65 66 74 |o. of ti|mes left|
|00001c40| 20 62 75 74 74 6f 6e 20 | 70 72 65 73 73 65 64 0d | button |pressed.|
|00001c50| 04 2e 11 20 41 44 44 20 | 52 31 2c 52 31 2c 52 30 |... ADD |R1,R1,R0|
|00001c60| 0d 04 38 14 20 42 4c 20 | 70 72 69 6e 74 6e 75 6d |..8. BL |printnum|
|00001c70| 62 65 72 25 0d 04 42 14 | 20 53 57 49 20 22 4f 53 |ber%..B.| SWI "OS|
|00001c80| 5f 57 72 69 74 65 53 22 | 0d 04 4c 1c 20 45 51 55 |_WriteS"|..L. EQU|
|00001c90| 53 20 22 20 6c 65 66 74 | 2c 20 22 2b 74 24 3a 41 |S " left|, "+t$:A|
|00001ca0| 4c 49 47 4e 0d 04 56 47 | 20 41 44 52 20 52 30 2c |LIGN..VG| ADR R0,|
|00001cb0| 6d 6d 69 64 25 3a 4c 44 | 52 20 52 30 2c 5b 52 30 |mmid%:LD|R R0,[R0|
|00001cc0| 5d 20 3b 20 52 30 20 3d | 20 6e 6f 2e 20 6f 66 20 |] ; R0 =| no. of |
|00001cd0| 74 69 6d 65 73 20 6d 69 | 64 64 6c 65 20 62 75 74 |times mi|ddle but|
|00001ce0| 74 6f 6e 20 70 72 65 73 | 73 65 64 0d 04 60 11 20 |ton pres|sed..`. |
|00001cf0| 41 44 44 20 52 31 2c 52 | 31 2c 52 30 0d 04 6a 14 |ADD R1,R|1,R0..j.|
|00001d00| 20 42 4c 20 70 72 69 6e | 74 6e 75 6d 62 65 72 25 | BL prin|tnumber%|
|00001d10| 0d 04 74 14 20 53 57 49 | 20 22 4f 53 5f 57 72 69 |..t. SWI| "OS_Wri|
|00001d20| 74 65 53 22 0d 04 7e 1e | 20 45 51 55 53 20 22 20 |teS"..~.| EQUS " |
|00001d30| 6d 69 64 64 6c 65 2c 20 | 22 2b 74 24 3a 41 4c 49 |middle, |"+t$:ALI|
|00001d40| 47 4e 0d 04 88 48 20 41 | 44 52 20 52 30 2c 6d 72 |GN...H A|DR R0,mr|
|00001d50| 69 67 68 74 25 3a 4c 44 | 52 20 52 30 2c 5b 52 30 |ight%:LD|R R0,[R0|
|00001d60| 5d 20 3b 20 52 30 20 3d | 20 6e 6f 2e 20 6f 66 20 |] ; R0 =| no. of |
|00001d70| 74 69 6d 65 73 20 72 69 | 67 68 74 20 62 75 74 74 |times ri|ght butt|
|00001d80| 6f 6e 20 70 72 65 73 73 | 65 64 0d 04 92 11 20 41 |on press|ed.... A|
|00001d90| 44 44 20 52 31 2c 52 31 | 2c 52 30 0d 04 9c 14 20 |DD R1,R1|,R0.... |
|00001da0| 42 4c 20 70 72 69 6e 74 | 6e 75 6d 62 65 72 25 0d |BL print|number%.|
|00001db0| 04 a6 14 20 53 57 49 20 | 22 4f 53 5f 57 72 69 74 |... SWI |"OS_Writ|
|00001dc0| 65 53 22 0d 04 b0 1d 20 | 45 51 55 53 20 22 20 72 |eS".... |EQUS " r|
|00001dd0| 69 67 68 74 20 28 22 2b | 74 24 3a 41 4c 49 47 4e |ight ("+|t$:ALIGN|
|00001de0| 0d 04 ba 2a 20 4d 4f 56 | 20 52 30 2c 52 31 20 3b |...* MOV| R0,R1 ;|
|00001df0| 20 52 31 20 3d 20 74 6f | 74 61 6c 20 6f 66 20 61 | R1 = to|tal of a|
|00001e00| 6c 6c 20 62 75 74 74 6f | 6e 73 0d 04 c4 14 20 42 |ll butto|ns.... B|
|00001e10| 4c 20 70 72 69 6e 74 6e | 75 6d 62 65 72 25 0d 04 |L printn|umber%..|
|00001e20| ce 14 20 53 57 49 20 22 | 4f 53 5f 57 72 69 74 65 |.. SWI "|OS_Write|
|00001e30| 53 22 0d 04 d8 24 20 45 | 51 55 53 20 22 20 63 6c |S"...$ E|QUS " cl|
|00001e40| 69 63 6b 73 20 74 6f 74 | 61 6c 29 2e 22 2b 74 24 |icks tot|al)."+t$|
|00001e50| 3a 41 4c 49 47 4e 0d 04 | e2 14 53 57 49 20 22 4f |:ALIGN..|..SWI "O|
|00001e60| 53 5f 4e 65 77 4c 69 6e | 65 22 0d 04 ec 19 4c 44 |S_NewLin|e"....LD|
|00001e70| 4d 46 44 20 52 31 33 21 | 2c 7b 52 30 2d 52 33 2c |MFD R13!|,{R0-R3,|
|00001e80| 50 43 7d 0d 04 f6 05 3a | 0d 05 00 28 2e 70 72 69 |PC}....:|...(.pri|
|00001e90| 6e 74 6e 75 6d 62 65 72 | 25 20 3b 20 52 30 20 3d |ntnumber|% ; R0 =|
|00001ea0| 20 6e 75 6d 62 65 72 20 | 74 6f 20 70 72 69 6e 74 | number |to print|
|00001eb0| 0d 05 0a 1a 53 54 4d 46 | 44 20 52 31 33 21 2c 7b |....STMF|D R13!,{|
|00001ec0| 52 31 2c 52 32 2c 52 31 | 34 7d 0d 05 14 12 41 44 |R1,R2,R1|4}....AD|
|00001ed0| 52 20 52 31 2c 62 75 66 | 66 65 72 25 0d 05 1e 0e |R R1,buf|fer%....|
|00001ee0| 4d 4f 56 20 52 32 2c 23 | 33 32 0d 05 28 1d 53 57 |MOV R2,#|32..(.SW|
|00001ef0| 49 20 22 4f 53 5f 43 6f | 6e 76 65 72 74 43 61 72 |I "OS_Co|nvertCar|
|00001f00| 64 69 6e 61 6c 34 22 0d | 05 32 12 41 44 52 20 52 |dinal4".|.2.ADR R|
|00001f10| 30 2c 62 75 66 66 65 72 | 25 0d 05 3c 13 53 57 49 |0,buffer|%..<.SWI|
|00001f20| 20 22 4f 53 5f 57 72 69 | 74 65 30 22 0d 05 46 19 | "OS_Wri|te0"..F.|
|00001f30| 4c 44 4d 46 44 20 52 31 | 33 21 2c 7b 52 31 2c 52 |LDMFD R1|3!,{R1,R|
|00001f40| 32 2c 50 43 7d 0d 05 50 | 05 3a 0d 05 5a 0c 2e 62 |2,PC}..P|.:..Z..b|
|00001f50| 75 66 66 65 72 25 0d 05 | 64 31 45 51 55 53 20 22 |uffer%..|d1EQUS "|
|00001f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2a 2d 2d 2d 2d 2d 2d |--------|-*------|
|00001f70| 2d 2d 2d 2a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2a 2d 2d |---*----|-----*--|
|00001f80| 22 3a 41 4c 49 47 4e 0d | 05 6e 05 3a 0d 05 78 3c |":ALIGN.|.n.:..x<|
|00001f90| 2e 64 69 76 69 64 65 25 | 20 3b 20 52 30 20 3d 20 |.divide%| ; R0 = |
|00001fa0| 6e 75 6d 65 72 61 74 6f | 72 20 20 20 20 52 31 20 |numerato|r R1 |
|00001fb0| 3d 20 64 69 76 69 73 6f | 72 20 20 20 20 52 32 20 |= diviso|r R2 |
|00001fc0| 3d 20 72 65 73 75 6c 74 | 0d 05 82 1a 53 54 4d 46 |= result|....STMF|
|00001fd0| 44 20 52 31 33 21 2c 7b | 52 33 2d 52 38 2c 52 31 |D R13!,{|R3-R8,R1|
|00001fe0| 34 7d 0d 05 8c 0d 4d 4f | 56 20 52 36 2c 52 31 0d |4}....MO|V R6,R1.|
|00001ff0| 05 96 10 41 44 52 20 52 | 31 2c 64 62 75 66 25 0d |...ADR R|1,dbuf%.|
|00002000| 05 a0 0e 4d 4f 56 20 52 | 32 2c 23 31 38 0d 05 aa |...MOV R|2,#18...|
|00002010| 1d 53 57 49 20 22 4f 53 | 5f 43 6f 6e 76 65 72 74 |.SWI "OS|_Convert|
|00002020| 43 61 72 64 69 6e 61 6c | 34 22 0d 05 b4 10 4d 4f |Cardinal|4"....MO|
|00002030| 56 20 52 37 2c 23 97 22 | 2f 22 0d 05 be 13 53 54 |V R7,#."|/"....ST|
|00002040| 52 42 20 52 37 2c 5b 52 | 31 5d 2c 23 31 0d 05 c8 |RB R7,[R|1],#1...|
|00002050| 0d 4d 4f 56 20 52 30 2c | 52 36 0d 05 d2 1d 53 57 |.MOV R0,|R6....SW|
|00002060| 49 20 22 4f 53 5f 43 6f | 6e 76 65 72 74 43 61 72 |I "OS_Co|nvertCar|
|00002070| 64 69 6e 61 6c 34 22 0d | 05 dc 10 41 44 52 20 52 |dinal4".|...ADR R|
|00002080| 30 2c 64 62 75 66 25 0d | 05 e6 0d 4d 4f 56 20 52 |0,dbuf%.|...MOV R|
|00002090| 31 2c 23 30 0d 05 f0 1f | 53 57 49 20 22 4f 53 5f |1,#0....|SWI "OS_|
|000020a0| 45 76 61 6c 75 61 74 65 | 45 78 70 72 65 73 73 69 |Evaluate|Expressi|
|000020b0| 6f 6e 22 0d 05 fa 19 4c | 44 4d 46 44 20 52 31 33 |on"....L|DMFD R13|
|000020c0| 21 2c 7b 52 33 2d 52 38 | 2c 50 43 7d 0d 06 04 2a |!,{R3-R8|,PC}...*|
|000020d0| 2e 64 62 75 66 25 3a 45 | 51 55 53 20 22 20 20 20 |.dbuf%:E|QUS " |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 22 | | "|
|000020f0| 3a 41 4c 49 47 4e 0d 06 | 0e 05 3a 0d 06 18 24 45 |:ALIGN..|..:...$E|
|00002100| 51 55 53 20 22 56 41 52 | 53 22 20 3b 20 66 6f 72 |QUS "VAR|S" ; for|
|00002110| 20 64 65 62 75 67 67 69 | 6e 67 20 6f 6e 6c 79 0d | debuggi|ng only.|
|00002120| 06 22 13 2e 6d 6c 65 66 | 74 25 20 3a 45 51 55 44 |."..mlef|t% :EQUD|
|00002130| 20 30 0d 06 2c 13 2e 6d | 6d 69 64 25 20 20 3a 45 | 0..,..m|mid% :E|
|00002140| 51 55 44 20 30 0d 06 36 | 13 2e 6d 72 69 67 68 74 |QUD 0..6|..mright|
|00002150| 25 3a 45 51 55 44 20 30 | 0d 06 40 13 2e 6d 70 69 |%:EQUD 0|..@..mpi|
|00002160| 78 25 20 20 3a 45 51 55 | 44 20 30 0d 06 4a 13 2e |x% :EQU|D 0..J..|
|00002170| 6f 6c 64 78 25 20 20 3a | 45 51 55 44 20 30 0d 06 |oldx% :|EQUD 0..|
|00002180| 54 13 2e 6f 6c 64 79 25 | 20 20 3a 45 51 55 44 20 |T..oldy%| :EQUD |
|00002190| 30 0d 06 5e 13 2e 6d 6d | 75 6c 74 25 20 3a 45 51 |0..^..mm|ult% :EQ|
|000021a0| 55 44 20 30 0d 06 68 14 | 2e 63 6d 64 69 76 25 20 |UD 0..h.|.cmdiv% |
|000021b0| 3a 45 51 55 44 20 37 38 | 0d 06 72 15 2e 69 6e 64 |:EQUD 78|..r..ind|
|000021c0| 69 76 25 20 3a 45 51 55 | 44 20 31 39 38 0d 06 7c |iv% :EQU|D 198..||
|000021d0| 19 2e 6b 6d 64 69 76 25 | 20 3a 45 51 55 44 20 37 |..kmdiv%| :EQUD 7|
|000021e0| 38 32 30 30 30 30 0d 06 | 86 1a 2e 6d 6c 64 69 76 |820000..|...mldiv|
|000021f0| 25 20 3a 45 51 55 44 20 | 31 36 32 32 36 38 31 32 |% :EQUD |16226812|
|00002200| 0d 06 90 05 3a 0d 06 9a | 0a 2e 69 6e 69 74 25 0d |....:...|..init%.|
|00002210| 06 a4 1a 53 54 4d 46 44 | 20 52 31 33 21 2c 7b 52 |...STMFD| R13!,{R|
|00002220| 30 2d 52 37 2c 52 31 34 | 7d 0d 06 ae 13 53 57 49 |0-R7,R14|}....SWI|
|00002230| 20 22 58 4f 53 5f 4d 6f | 75 73 65 22 0d 06 b8 10 | "XOS_Mo|use"....|
|00002240| 41 44 52 20 52 32 2c 6f | 6c 64 78 25 0d 06 c2 10 |ADR R2,o|ldx%....|
|00002250| 41 44 52 20 52 33 2c 6f | 6c 64 79 25 0d 06 cc 0f |ADR R3,o|ldy%....|
|00002260| 53 54 52 20 52 30 2c 5b | 52 32 5d 0d 06 d6 0f 53 |STR R0,[|R2]....S|
|00002270| 54 52 20 52 31 2c 5b 52 | 33 5d 0d 06 e0 1d 4d 4f |TR R1,[R|3]....MO|
|00002280| 56 20 52 30 2c 23 31 36 | 20 3b 20 65 76 65 6e 74 |V R0,#16| ; event|
|00002290| 20 76 65 63 74 6f 72 0d | 06 ea 16 41 44 52 20 52 | vector.|...ADR R|
|000022a0| 31 2c 72 65 61 64 62 75 | 74 74 6f 6e 25 0d 06 f4 |1,readbu|tton%...|
|000022b0| 0d 4d 4f 56 20 52 32 2c | 23 30 0d 06 fe 13 53 57 |.MOV R2,|#0....SW|
|000022c0| 49 20 22 58 4f 53 5f 43 | 6c 61 69 6d 22 0d 07 08 |I "XOS_C|laim"...|
|000022d0| 14 4d 4f 56 20 52 30 2c | 23 39 20 3b 20 31 30 63 |.MOV R0,|#9 ; 10c|
|000022e0| 73 0d 07 12 15 41 44 52 | 20 52 31 2c 72 65 61 64 |s....ADR| R1,read|
|000022f0| 6d 6f 75 73 65 25 0d 07 | 1c 0d 4d 4f 56 20 52 32 |mouse%..|..MOV R2|
|00002300| 2c 23 30 0d 07 26 17 53 | 57 49 20 22 58 4f 53 5f |,#0..&.S|WI "XOS_|
|00002310| 43 61 6c 6c 45 76 65 72 | 79 22 0d 07 30 19 4c 44 |CallEver|y"..0.LD|
|00002320| 4d 46 44 20 52 31 33 21 | 2c 7b 52 30 2d 52 37 2c |MFD R13!|,{R0-R7,|
|00002330| 50 43 7d 0d 07 3a 05 3a | 0d 07 44 0b 2e 66 69 6e |PC}..:.:|..D..fin|
|00002340| 61 6c 25 0d 07 4e 1a 53 | 54 4d 46 44 20 52 31 33 |al%..N.S|TMFD R13|
|00002350| 21 2c 7b 52 30 2d 52 37 | 2c 52 31 34 7d 0d 07 58 |!,{R0-R7|,R14}..X|
|00002360| 15 41 44 52 20 52 30 2c | 72 65 61 64 6d 6f 75 73 |.ADR R0,|readmous|
|00002370| 65 25 0d 07 62 0d 4d 4f | 56 20 52 31 2c 23 30 0d |e%..b.MO|V R1,#0.|
|00002380| 07 6c 1f 53 57 49 20 22 | 58 4f 53 5f 52 65 6d 6f |.l.SWI "|XOS_Remo|
|00002390| 76 65 54 69 63 6b 65 72 | 45 76 65 6e 74 22 0d 07 |veTicker|Event"..|
|000023a0| 76 0e 4d 4f 56 20 52 30 | 2c 23 31 36 0d 07 80 16 |v.MOV R0|,#16....|
|000023b0| 41 44 52 20 52 31 2c 72 | 65 61 64 62 75 74 74 6f |ADR R1,r|eadbutto|
|000023c0| 6e 25 0d 07 8a 0d 4d 4f | 56 20 52 32 2c 23 30 0d |n%....MO|V R2,#0.|
|000023d0| 07 94 15 53 57 49 20 22 | 58 4f 53 5f 52 65 6c 65 |...SWI "|XOS_Rele|
|000023e0| 61 73 65 22 0d 07 9e 19 | 4c 44 4d 46 44 20 52 31 |ase"....|LDMFD R1|
|000023f0| 33 21 2c 7b 52 30 2d 52 | 37 2c 50 43 7d 0d 07 a8 |3!,{R0-R|7,PC}...|
|00002400| 05 3a 0d 07 b2 0d 2e 61 | 64 64 6c 65 66 74 25 0d |.:.....a|ddleft%.|
|00002410| 07 bc 1a 53 54 4d 46 44 | 20 52 31 33 21 2c 7b 52 |...STMFD| R13!,{R|
|00002420| 30 2c 52 31 2c 52 31 34 | 7d 0d 07 c6 11 41 44 52 |0,R1,R14|}....ADR|
|00002430| 20 52 30 2c 6d 6c 65 66 | 74 25 0d 07 d0 0f 4c 44 | R0,mlef|t%....LD|
|00002440| 52 20 52 31 2c 5b 52 30 | 5d 0d 07 da 10 41 44 44 |R R1,[R0|]....ADD|
|00002450| 20 52 31 2c 52 31 2c 23 | 31 0d 07 e4 0f 53 54 52 | R1,R1,#|1....STR|
|00002460| 20 52 31 2c 5b 52 30 5d | 0d 07 ee 19 4c 44 4d 46 | R1,[R0]|....LDMF|
|00002470| 44 20 52 31 33 21 2c 7b | 52 30 2c 52 31 2c 50 43 |D R13!,{|R0,R1,PC|
|00002480| 7d 0d 07 f8 05 3a 0d 08 | 02 0c 2e 61 64 64 6d 69 |}....:..|...addmi|
|00002490| 64 25 0d 08 0c 1a 53 54 | 4d 46 44 20 52 31 33 21 |d%....ST|MFD R13!|
|000024a0| 2c 7b 52 30 2c 52 31 2c | 52 31 34 7d 0d 08 16 10 |,{R0,R1,|R14}....|
|000024b0| 41 44 52 20 52 30 2c 6d | 6d 69 64 25 0d 08 20 0f |ADR R0,m|mid%.. .|
|000024c0| 4c 44 52 20 52 31 2c 5b | 52 30 5d 0d 08 2a 10 41 |LDR R1,[|R0]..*.A|
|000024d0| 44 44 20 52 31 2c 52 31 | 2c 23 31 0d 08 34 0f 53 |DD R1,R1|,#1..4.S|
|000024e0| 54 52 20 52 31 2c 5b 52 | 30 5d 0d 08 3e 19 4c 44 |TR R1,[R|0]..>.LD|
|000024f0| 4d 46 44 20 52 31 33 21 | 2c 7b 52 30 2c 52 31 2c |MFD R13!|,{R0,R1,|
|00002500| 50 43 7d 0d 08 48 05 3a | 0d 08 52 0e 2e 61 64 64 |PC}..H.:|..R..add|
|00002510| 72 69 67 68 74 25 0d 08 | 5c 1a 53 54 4d 46 44 20 |right%..|\.STMFD |
|00002520| 52 31 33 21 2c 7b 52 30 | 2c 52 31 2c 52 31 34 7d |R13!,{R0|,R1,R14}|
|00002530| 0d 08 66 12 41 44 52 20 | 52 30 2c 6d 72 69 67 68 |..f.ADR |R0,mrigh|
|00002540| 74 25 0d 08 70 0f 4c 44 | 52 20 52 31 2c 5b 52 30 |t%..p.LD|R R1,[R0|
|00002550| 5d 0d 08 7a 10 41 44 44 | 20 52 31 2c 52 31 2c 23 |]..z.ADD| R1,R1,#|
|00002560| 31 0d 08 84 0f 53 54 52 | 20 52 31 2c 5b 52 30 5d |1....STR| R1,[R0]|
|00002570| 0d 08 8e 19 4c 44 4d 46 | 44 20 52 31 33 21 2c 7b |....LDMF|D R13!,{|
|00002580| 52 30 2c 52 31 2c 50 43 | 7d 0d 08 98 05 3a 0d 08 |R0,R1,PC|}....:..|
|00002590| a2 24 2e 61 64 64 6d 6f | 76 65 6d 65 6e 74 25 20 |.$.addmo|vement% |
|000025a0| 3b 20 52 32 3d 6e 6f 2e | 20 6f 66 20 70 69 78 65 |; R2=no.| of pixe|
|000025b0| 6c 73 0d 08 ac 1a 53 54 | 4d 46 44 20 52 31 33 21 |ls....ST|MFD R13!|
|000025c0| 2c 7b 52 30 2c 52 31 2c | 52 31 34 7d 0d 08 b6 10 |,{R0,R1,|R14}....|
|000025d0| 41 44 52 20 52 30 2c 6d | 70 69 78 25 0d 08 c0 0f |ADR R0,m|pix%....|
|000025e0| 4c 44 52 20 52 31 2c 5b | 52 30 5d 0d 08 ca 10 41 |LDR R1,[|R0]....A|
|000025f0| 44 44 20 52 31 2c 52 31 | 2c 52 32 0d 08 d4 0f 53 |DD R1,R1|,R2....S|
|00002600| 54 52 20 52 31 2c 5b 52 | 30 5d 0d 08 de 19 4c 44 |TR R1,[R|0]....LD|
|00002610| 4d 46 44 20 52 31 33 21 | 2c 7b 52 30 2c 52 31 2c |MFD R13!|,{R0,R1,|
|00002620| 50 43 7d 0d 08 e8 05 3a | 0d 08 f2 0f 2e 72 65 61 |PC}....:|.....rea|
|00002630| 64 6d 6f 75 73 65 25 0d | 08 fc 1a 53 54 4d 46 44 |dmouse%.|...STMFD|
|00002640| 20 52 31 33 21 2c 7b 52 | 30 2d 52 39 2c 52 31 34 | R13!,{R|0-R9,R14|
|00002650| 7d 0d 09 06 21 53 57 49 | 20 22 58 4f 53 5f 4d 6f |}...!SWI| "XOS_Mo|
|00002660| 75 73 65 22 20 3b 20 52 | 30 3d 78 20 20 20 52 31 |use" ; R|0=x R1|
|00002670| 3d 79 0d 09 10 1d 41 44 | 52 20 52 35 2c 6f 6c 64 |=y....AD|R R5,old|
|00002680| 78 25 20 20 20 3b 20 52 | 35 3d 5e 6f 6c 64 79 0d |x% ; R|5=^oldy.|
|00002690| 09 1a 1d 41 44 52 20 52 | 36 2c 6f 6c 64 79 25 20 |...ADR R|6,oldy% |
|000026a0| 20 20 3b 20 52 36 3d 5e | 6f 6c 64 78 0d 09 24 1c | ; R6=^|oldx..$.|
|000026b0| 4c 44 52 20 52 33 2c 5b | 52 35 5d 20 20 20 20 3b |LDR R3,[|R5] ;|
|000026c0| 20 52 33 3d 6f 6c 64 78 | 0d 09 2e 1c 4c 44 52 20 | R3=oldx|....LDR |
|000026d0| 52 34 2c 5b 52 36 5d 20 | 20 20 20 3b 20 52 34 3d |R4,[R6] | ; R4=|
|000026e0| 6f 6c 64 79 0d 09 38 0d | 43 4d 50 20 52 30 2c 52 |oldy..8.|CMP R0,R|
|000026f0| 33 0d 09 42 12 53 55 42 | 47 45 20 52 37 2c 52 30 |3..B.SUB|GE R7,R0|
|00002700| 2c 52 33 0d 09 4c 2a 53 | 55 42 4c 54 20 52 37 2c |,R3..L*S|UBLT R7,|
|00002710| 52 33 2c 52 30 20 3b 20 | 52 37 3d 61 6d 6f 75 6e |R3,R0 ; |R7=amoun|
|00002720| 74 20 6f 66 20 78 20 63 | 68 61 6e 67 65 0d 09 56 |t of x c|hange..V|
|00002730| 0d 43 4d 50 20 52 31 2c | 52 34 0d 09 60 12 53 55 |.CMP R1,|R4..`.SU|
|00002740| 42 47 45 20 52 38 2c 52 | 31 2c 52 34 0d 09 6a 2a |BGE R8,R|1,R4..j*|
|00002750| 53 55 42 4c 54 20 52 38 | 2c 52 34 2c 52 31 20 3b |SUBLT R8|,R4,R1 ;|
|00002760| 20 52 38 3d 61 6d 6f 75 | 6e 74 20 6f 66 20 79 20 | R8=amou|nt of y |
|00002770| 63 68 61 6e 67 65 0d 09 | 74 26 41 44 44 20 52 39 |change..|t&ADD R9|
|00002780| 2c 52 37 2c 52 38 20 20 | 20 3b 20 52 39 3d 6d 6f |,R7,R8 | ; R9=mo|
|00002790| 75 73 65 20 6d 6f 76 65 | 6d 65 6e 74 0d 09 7e 26 |use move|ment..~&|
|000027a0| 4d 4f 56 20 52 32 2c 52 | 39 20 20 20 20 20 20 3b |MOV R2,R|9 ;|
|000027b0| 20 70 75 74 20 52 39 20 | 69 6e 74 6f 20 52 32 2e | put R9 |into R2.|
|000027c0| 2e 2e 0d 09 88 28 42 4c | 20 61 64 64 6d 6f 76 65 |.....(BL| addmove|
|000027d0| 6d 65 6e 74 25 3b 20 61 | 6e 64 20 61 64 64 20 74 |ment%; a|nd add t|
|000027e0| 6f 20 63 6f 75 6e 74 65 | 72 2e 0d 09 92 1b 53 54 |o counte|r.....ST|
|000027f0| 52 20 52 30 2c 5b 52 35 | 5d 20 20 20 20 3b 20 6f |R R0,[R5|] ; o|
|00002800| 6c 64 78 3d 78 0d 09 9c | 1b 53 54 52 20 52 31 2c |ldx=x...|.STR R1,|
|00002810| 5b 52 36 5d 20 20 20 20 | 3b 20 6f 6c 64 79 3d 79 |[R6] |; oldy=y|
|00002820| 0d 09 a6 19 4c 44 4d 46 | 44 20 52 31 33 21 2c 7b |....LDMF|D R13!,{|
|00002830| 52 30 2d 52 39 2c 50 43 | 7d 0d 09 b0 05 3a 0d 09 |R0-R9,PC|}....:..|
|00002840| ba 10 2e 72 65 61 64 62 | 75 74 74 6f 6e 25 0d 09 |...readb|utton%..|
|00002850| c4 0e 43 4d 50 20 52 30 | 2c 23 31 31 0d 09 ce 10 |..CMP R0|,#11....|
|00002860| 4d 4f 56 4e 45 20 50 43 | 2c 52 31 34 0d 09 d8 0d |MOVNE PC|,R14....|
|00002870| 43 4d 50 20 52 31 2c 23 | 31 0d 09 e2 10 4d 4f 56 |CMP R1,#|1....MOV|
|00002880| 4e 45 20 50 43 2c 52 31 | 34 0d 09 ec 14 53 54 4d |NE PC,R1|4....STM|
|00002890| 46 44 20 52 31 33 21 2c | 7b 52 31 34 7d 0d 09 f6 |FD R13!,|{R14}...|
|000028a0| 10 20 43 4d 50 20 52 32 | 2c 23 26 37 30 0d 0a 00 |. CMP R2|,#&70...|
|000028b0| 12 20 42 4c 45 51 20 61 | 64 64 6c 65 66 74 25 0d |. BLEQ a|ddleft%.|
|000028c0| 0a 0a 10 20 43 4d 50 20 | 52 32 2c 23 26 37 31 0d |... CMP |R2,#&71.|
|000028d0| 0a 14 11 20 42 4c 45 51 | 20 61 64 64 6d 69 64 25 |... BLEQ| addmid%|
|000028e0| 0d 0a 1e 10 20 43 4d 50 | 20 52 32 2c 23 26 37 32 |.... CMP| R2,#&72|
|000028f0| 0d 0a 28 13 20 42 4c 45 | 51 20 61 64 64 72 69 67 |..(. BLE|Q addrig|
|00002900| 68 74 25 0d 0a 32 13 4c | 44 4d 46 44 20 52 31 33 |ht%..2.L|DMFD R13|
|00002910| 21 2c 7b 50 43 7d 0d 0a | 3c 05 5d 0d 0a 46 0b ed |!,{PC}..|<.]..F..|
|00002920| 20 70 61 73 73 25 0d 0a | 50 3c c8 99 20 22 4f 53 | pass%..|P<.. "OS|
|00002930| 5f 46 69 6c 65 22 2c 31 | 30 2c 22 3c 4d 69 6c 65 |_File",1|0,"<Mile|
|00002940| 61 67 65 24 44 69 72 3e | 2e 4d 69 6c 65 61 67 65 |age$Dir>|.Mileage|
|00002950| 22 2c 26 46 46 41 2c 2c | 6d 6f 64 75 6c 65 25 2c |",&FFA,,|module%,|
|00002960| 4f 25 0d 0a 5a 21 f1 22 | 4d 6f 64 75 6c 65 20 73 |O%..Z!."|Module s|
|00002970| 61 76 65 64 20 61 73 20 | 27 4d 69 6c 65 61 67 65 |aved as |'Mileage|
|00002980| 27 2e 22 0d 0a 64 05 e0 | 0d ff 46 69 6c 65 44 61 |'."..d..|..FileDa|
|00002990| 74 61 82 54 65 73 74 00 | 65 00 00 65 00 ff 3d 00 |ta.Test.|e..e..=.|
|000029a0| 00 00 45 fb ff ff ff 0d | d9 47 03 00 a1 b4 0d 00 |..E.....|.G......|
|000029b0| 0a 0b f4 20 3e 54 65 73 | 74 0d 00 14 05 3a 0d 00 |... >Tes|t....:..|
|000029c0| 1e 08 eb 30 3a 87 0d 00 | 28 05 f5 0d 00 32 0c f1 |...0:...|(....2..|
|000029d0| 20 8a 30 2c 30 29 3b 0d | 00 3c 0c 2a 4d 49 4c 45 | .0,0);.|.<.*MILE|
|000029e0| 41 47 45 0d 00 46 06 fd | 30 0d ff |AGE..F..|0.. |
+--------+-------------------------+-------------------------+--------+--------+